package com.financing.platform.service;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.OrderManagerUserDTO;
import com.financing.platform.dto.UserInfoDTO;
import com.financing.platform.vo.OrderEmailVO;
import com.financing.platform.vo.OrderManagerUserVO;

public interface IOrderManagerUserService extends IBaseService {
	/**
	 * 添加订单管理员
	 * 
	 * @param user
	 * @return
	 * @throws SQLException
	 */
	public int addOrderManagerUser(OrderManagerUserDTO user) throws SQLException;

	/**
	 * 删除订单管理员
	 * 
	 * @param user
	 * @return
	 * @throws SQLException
	 */
	public int deleteOrderManagerUser(OrderManagerUserVO user) throws SQLException;

	/**
	 * 查询所有的订单管理员
	 * 
	 * @return
	 * @throws SQLException
	 */
	public List<OrderManagerUserVO> queryOrderManagerUsers(OrderManagerUserVO user) throws SQLException;

	/**
	 * 查询所有订单管理员的数量
	 * @param user
	 * @return
	 * @throws SQLException
	 */
	public int queryOrderManagerUsersCount(OrderManagerUserVO user) throws SQLException;
	
	/**
	 * 查询还未添加的管理员
	 * 
	 * @return
	 * @throws SQLException
	 */
	public List<OrderManagerUserVO> queryNotOrderManagerUsers(OrderManagerUserVO user) throws SQLException;
	
	/**
	 * 查询所有订单管理员的数量
	 * @param user
	 * @return
	 * @throws SQLException
	 */
	public int queryNotOrderManagerUsersCount(OrderManagerUserVO user) throws SQLException;
	
	/**
	 * 
	 * @Title: queryUserNeedTODOOrder
	 * @Description: 查询今天需要处理的订单 
	 * @param @param uid
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<OrderEmailVO>   
	 * @throws
	 */
	public List<OrderEmailVO> queryUserNeedTODOOrder(UserInfoDTO user) throws SQLException;
}
